package cn.school.classManage.entity;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("t_class_curriculum_main")
public class ClassCurriculumMain extends BaseVO {

    private static final long serialVersionUID = 7889920412470306193L;

    /**
     * 班级ID
     */
    private String classId;

    /**
     * 学期ID
     */
    private String termId;

    /**
     * 状态 0-无效 1-有效
     */
    private String mainStatus;
    /**
     * 租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();

    /**
     * 班级课程详情
     */
    @TableField(exist = false)
    private List<ClassCurriculumDetail> detailList;

    /**
     * 教员个人课表
     */
    @TableField(exist = false)
    private List<ClassCurriculumUser> userList;
}
